package com.xzh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xzh.model.Courses;
import com.xzh.model.search.CourseSearch;

import java.util.List;


public interface CourseService {
    //查询所有
    Page<Courses> selectAll(Page<Courses>  page, Courses  courses);
    //添加
    boolean save(Courses courses);

    boolean updateById(Courses courses);

    int deleteByIds(List<Integer> ids);

}
